﻿@model DAMS.Web.Areas.Manage.Models.TagCreateViewModel

@{
    ViewData["Title"] = "添加标签";
}
<h4>添加标签</h4>
<hr />
<div class="row">
    <div class="col">
        <form asp-action="Create">
            <div asp-validation-summary="ModelOnly" class="text-danger"></div>
            <div class="form-group form-row">
                <label class="col-2 text-right col-form-label" asp-for="TagName"></label>
                <div class="col-4 form-inline">
                    <input asp-for="TagName" type="text" class="form-control" />
                    <span asp-validation-for="TagName" class="text-danger form-text col-form-label ml-3"></span>
                </div>
            </div>
            <div class="form-group form-row">
                <label class="col-2 text-right col-form-label"></label>
                <div class="col-4 ">
                    <input type="submit" value="添加" class="btn btn-primary w-25" />
                </div>
            </div>
        </form>
    </div>
</div>

@section Scripts {
    @{await Html.RenderPartialAsync("_ValidationScriptsPartial");}
}
